package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.EcComment;

import java.util.List;

public interface EcCommentMapper {
    int deleteByPrimaryKey(Long commentId);

    int insert(EcComment record);

    int insertSelective(EcComment record);

    EcComment selectByPrimaryKey(Long commentId);

    List<EcComment> selectByGoodsId(Long goodsId);

    List<EcComment> selectByRestaurantId(Long restaurantId);

    int updateByPrimaryKeySelective(EcComment record);

    int updateByPrimaryKey(EcComment record);
}